(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <time.h>
struct tm * gmtime()
SYNOPSIS
const time_t * tt

FUNCTION
The gmtime() function converts the calendar time tt to broken-down time representation, expressed in Coordinated Universal Time (UTC).

INPUTS
tt
The time to convert
RESULT
The broken down time in Coordinated Universal Time (UTC).

NOTES
EXAMPLE
time_t	    tt;
struct tm * tm;

// Get the time
time (&tt);

// and convert it
tm = gmtime (&tt);

BUGS
SEE ALSO
time(), ctime(), asctime(), localtime()
INTERNALS
Rules for leap-years:

1. every 4th year is a leap year

2. every 100th year is none

3. every 400th is one

4. 1900 was none, 2000 is one

HISTORY
29.01.1997 digulla
Added most time functions